package cn.itcast.domain;



public class Admin {
    private int id;
    private String adminName;
    private String adminUsername;
    private String adminPassword;
    private String adminFlag;

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public Admin(String adminUsername, String adminPassword, String adminFlag) {
        this.adminUsername = adminUsername;
        this.adminPassword = adminPassword;
        this.adminFlag = adminFlag;
    }

    public Admin(int id, String adminUsername, String adminPassword, String adminFlag) {
        this.id = id;
        this.adminUsername = adminUsername;
        this.adminPassword = adminPassword;
        this.adminFlag = adminFlag;
    }

    public Admin() {
    }




    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAdminUsername() {
        return adminUsername;
    }

    public void setAdminUsername(String adminUsername) {
        this.adminUsername = adminUsername;
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword;
    }

    public String getAdminFlag() {
        return adminFlag;
    }

    public void setAdminFlag(String adminFlag) {
        this.adminFlag = adminFlag;
    }


    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", adminName='" + adminName + '\'' +
                ", adminUsername='" + adminUsername + '\'' +
                ", adminPassword='" + adminPassword + '\'' +
                ", adminFlag='" + adminFlag + '\'' +
                '}';
    }
}
